package android_design_mode.chapter21_decorator;

public class ClientDecorator {

    public static void main(String[] args) {
        System.out.println("Decorator");

        Component component = new ConcreteComponent();

        Decotrator decotratorA = new ConcreteDecoratorA(component);
        decotratorA.operate();
        Decotrator decotratorB = new ConcreteDecoratorB(component);
        decotratorB.operate();


    }

}
